<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('编辑-轮播图')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
			<tr>
	            <td class="formTitle">图片<font face="宋体">*</font></td>
	            <td class="formValue">
					  <input  type="hidden" class="form-control" placeholder="图片" v-model="broadcast.img" isvalid="yes" checkexpession="NotNull"> 
					<div id="preview">
					    <img id="imghead" border="0" v-bind:src="broadcast.img"  alt="broadcast.img" width="90" height="90"  onclick="$('#previewImg').click();">
					</div>
					<input type="file" onchange="previewImage(this)" style="display: none;" id="previewImg">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">链接<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="链接" v-model="broadcast.url" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">级别<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="级别" v-model="broadcast.level" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
                <td class="formTitle">可用</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="broadcast.status"/> 正常
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="2" v-model="broadcast.status"/> 禁用
                    </label>
                </td>
            </tr>
		</table>
	</div>
    <div th:include="include/footer_js::footer"></div>
    <script th:src="@{/statics/js/base/broadcast/edit.js}"></script>
</body>
</html>